﻿using System.Collections.Generic;

namespace WeWork.SDK.Framework.Entitys.Send
{
    /// <summary>
    /// 图文消息
    /// </summary>
    public class ChatNews : ChatSend
    {
        public ChatNewsDetail info { get; set; }
    }

    public class ChatNewsDetail
    {
        /// <summary>
        /// 图文消息数组，每个item结构包含title、description、url、picurl等结构
        /// </summary>
        public List<ChatNewsDetailItem> item { get; set; }
    }

    public class ChatNewsDetailItem
    {
        /// <summary>
        /// 图文消息标题。String类型
        /// </summary>
        public string title { get; set; }

        /// <summary>
        /// 图文消息描述。String类型
        /// </summary>
        public string description { get; set; }

        /// <summary>
        /// 图文消息点击跳转地址。String类型
        /// </summary>
        public string url { get; set; }

        /// <summary>
        /// 图文消息配图的url。String类型
        /// </summary>
        public string picurl { get; set; }
    }
}
